package entity;

import java.util.Date;

import org.springframework.stereotype.Component;

/**
 * 存放用户购买会员的订单信息
 * 成为会员用户可以享受VIP免费的视频内容
 * @author Administrator
 *
 */
@Component
public class MemberOrder {

	private int id;  //编号
	private Users user;  //此订单所属的用户信息
	private Date buyTime;  //购买的时间
	private Date endTime;  //会员结束的时间
	private String remark;  //备注
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Users getUser() {
		return user;
	}
	public void setUser(Users user) {
		this.user = user;
	}
	public Date getBuyTime() {
		return buyTime;
	}
	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
